//
//  VisitingCell.h
//  JinChengYun
//
//  Created by 金橙云 on 2017/3/1.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol VisitingCellDelegate <NSObject>

- (void)didSelectPhone:(NSIndexPath *)indexPath;

@end

@interface VisitingCell : UITableViewCell
@property (nonatomic,strong)UIView *bgView;
@property(nonatomic,strong)UILabel *orangeLab;
@property(nonatomic,strong)UIImageView *peopleImg;//图片
@property(nonatomic,strong)UILabel *nameLab;//客户姓名
@property(nonatomic,strong)UILabel *sexLab;//性别
@property(nonatomic,strong)UILabel *leiLab;
@property(nonatomic,strong)UILabel *firstLab;//首次来电
@property(nonatomic,strong)UILabel *callLab;//首次来电
@property(nonatomic,strong)UILabel *shangLab;//上次跟进
@property(nonatomic,strong)UILabel *sortLab;//类别
@property(nonatomic,strong)UILabel *remarkLab;//备注
@property(nonatomic,strong)UIButton *callBtn;//电话显示图标
@property(nonatomic,strong)UIButton *callUpBtn;//拨打电话
@property(nonatomic,strong)UILabel *typeLab;//成交状态

@property(nonatomic,strong)UILabel *NumPhone;

@property (nonatomic, weak) id<VisitingCellDelegate>delegate;
@property (nonatomic, strong) NSIndexPath *indexPath;

-(void)setUpVisitCellWithImg:(NSString *)_img withName:(NSString *)_name withSex:(NSString *)_sex withFen:(NSString *)_fen withFirstVisit:(NSString *)_first withGen:(NSString *)_gen withBei:(NSString *)_bei withPhone:(NSString *)_phone withChengJiaoState:(NSString *)_state withCallStr:(NSString *)_call;
@end
